package nuc.ss.wl.service;

import nuc.ss.wl.entity.Student;

import java.util.List;
import java.util.Map;

public interface StudentService {

    public int add(Student student);

    public int delete(int sno);

    public int update(Student student);

    public List<Student> findAll();

    public Student findBySno(int sno);

    public Map<Float, Student> findStudentByClassno(int classno);

    public Student login(int sno, String password);

}
